//js配置
require.config( {
	baseUrl : "",
	paths : {
		"jquery" : "js/jquery-1.8.0",
		"jquery.artDialog" : "js/jquery.artDialog",
		"xx566.admin.article" : "xx566/admin.article"
	},
	shim : {
		"jquery.artDialog" : {
			deps : [ "jquery" ],
			exports : "artDialog"
		}
	}
});
//文章管理
require( [ "jquery", "xx566.admin.article" ], function($, article) {
	$("#arts_indexes").click(article.createIndexes);
	$("a[id^='art_delete']").click(article.deleteArticle);
	if (typeof (artid) != 'undefined') {
		$("#index").ready(article.initPublish(artid));
		$("#mainfrm #rightFrame #article_center").ready(
				article.artCenter(artpic, artpic2, isdraft, artid));
	}
});